\appendix

\lstset{numbers=left, stepnumber=2, frame=single,tabsize=3}
\lstset{language=Java, caption=Descriptive Caption Text, label=DescriptiveLabel, basicstyle=\scriptsize}

\section{Test Scenarios}
\subsection{Regular test}
This test shows a direct call to each file server, and their responses plus the call to the downloading server, and that he takes the best result and returns it.
\newline
\includegraphics[width=140mm]{tests/test1.png}
\pagebreak
\subsection{Test with Timeout}
This test shows a direct call to each file server where the one is down. The result is still correct.
\newline
\includegraphics[width=130mm]{tests/test2.png}
% \includegraphics[width=140mm]{tests/test3.png}
% \includegraphics[width=140mm]{tests/test4.png}
% \includegraphics[width=140mm]{tests/test5.png}
% \includegraphics[width=140mm]{tests/test6.png}
% \includegraphics[width=140mm]{tests/test7.png}
% \includegraphics[width=140mm]{tests/test8.png}
% \includegraphics[width=140mm]{tests/test9.png}
% \includegraphics[width=140mm]{tests/test10.png}

\pagebreak
\section{source code}
\subsection{DSWS}
\lstinputlisting{source/DSWS.java}
\pagebreak
\subsection{FSWS}
\lstinputlisting{source/FSWS.java}
\pagebreak
\subsection{PublishFS}
\lstinputlisting{source/PublishFS.java}